﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Shop.AllForms;

namespace Shop
{
    public partial class StartForm : Form
    {
        public StartForm()
        {
            InitializeComponent();
        }

        private void buttonAddProduct_Click(object sender, EventArgs e)
        {

        }

        private void buttonExit_Click(object sender, EventArgs e)
        {
            this.Close();
        }

        private void buttonSurchProduct_Click(object sender, EventArgs e)
        {
         
        }

        private void buttonChangeInfo_Click(object sender, EventArgs e)
        {

        }

        private void buttonShowAllProducts_Click(object sender, EventArgs e)
        {
            
        }

        private void radButtonElementAddProduct_Click(object sender, EventArgs e)
        {
            AddProduct addNewProduct = new AddProduct();
            addNewProduct.ShowDialog();
        }

        private void radButtonElementQueryProduct_Click(object sender, EventArgs e)
        {
            QueriesMenu qMenu = new QueriesMenu();
            qMenu.ShowDialog();
        }

        private void radButtonElementChangeProductInformation_Click(object sender, EventArgs e)
        {
            EditProduct editForm = new EditProduct();
            editForm.Show();
        }

        private void radButtonElementShowAllProducts_Click(object sender, EventArgs e)
        {
            ShowAllProducts showProductsForm = new ShowAllProducts();
            showProductsForm.Show();
        }

        private void radButtonElementCashInfo_Click(object sender, EventArgs e)
        {
            BuyProducts buyProductsForm = new BuyProducts();
            buyProductsForm.Show();
        }
    }
}
